using System;
using NUnit.Framework;

namespace AndyPike.Presentations.IntroToTDD.Tests
{
    [TestFixture]
    public class When_reversing_a_string_using_linq : StringReverserBase
    {
        [SetUp]
        public override void SetUp()
        {
            base.SetUp();

            reverser = new StringReverserUsingLinq(logger);
        }

        [Test]
        [ExpectedException(typeof(ArgumentNullException))]
        public void Should_throw_an_exception_if_a_null_logger_is_passed_in_during_instantiation()
        {
            var r = new StringReverserUsingLinq(null);
        }
    }
}